#pragma once
#include "API.h"


void onTcpAccept(IOCPService * pIOCPService, ENDPOINT_ID id, PTCP_CONN_INFO pConnInfo)
	{
		DbgPrint("%s", pIOCPService->getPrivate(id));
	}
void onTcpConnected(IOCPService * pIOCPService, ENDPOINT_ID id, PTCP_CONN_INFO pConnInfo)
	{
		DbgPrint("%s", pIOCPService->getPrivate(id));
	}
void onTcpClosed(IOCPService * pIOCPService, ENDPOINT_ID id)
	{
		DbgPrint("%s", pIOCPService->getPrivate(id));
	}
void onTcpReceive(IOCPService * pIOCPService, ENDPOINT_ID id, LPWSABUF pWsaBuffer)
	{
		DbgPrint("%s", pIOCPService->getPrivate(id));
		DbgPrint("%s", pWsaBuffer->buf);
	}
void onTcpCanSend(IOCPService * pIOCPService, ENDPOINT_ID id)
	{
		DbgPrint("%s", pIOCPService->getPrivate(id));
	}